//
//  LXDRadioCollectionReusableView.m
//  BLDMusics
//
//  Created by lxd on 16/3/18.
//  Copyright © 2016年 李晓丹. All rights reserved.
//

#import "LXDRadioCollectionReusableView.h"

@interface LXDRadioCollectionReusableView ()

@property (nonatomic, retain) UILabel *titleLabel;

@end

@implementation LXDRadioCollectionReusableView


- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self createControl];
    }
    return self;
}


- (void)createControl {
    self.titleLabel = [[UILabel alloc] init];
    [self addSubview:_titleLabel];
}

- (void)layoutSubviews {
    _titleLabel.frame = CGRectMake(10, 0, self.bounds.size.width - 20, self.bounds.size.height);
}

- (void)setModel:(LXDRadioModel *)model {
    _model = model;
    _titleLabel.text = self.model.tag_type_name;
}
@end
